/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package javafx179labs.sheypak.lab3;

/**
 *
 * @author SSheypak
 *///
public class Chair extends Furniture{

    private Float maxWeight;

    public Chair(){
        super(0,0);
    }

    public Chair(Float weight){
        super(0,0);
        maxWeight = weight;
    }

    public Chair(Integer x, Integer y, Float weight){
        super(x,y);
        maxWeight = weight;
    }

    public Float getMaxWeight() {
        return maxWeight;
    }

    public void setMaxWeight(Float maxWeight) {
        this.maxWeight = maxWeight;
    }

    @Override
    public void iAmMoving() {
        System.out.println("Chair has been moved");
    }

    @Override
    public void connect() {
        System.out.println("Stay on floor");
    }

}
